package com.loong.web.gp4j.bean.schema.message;

/**
 * 用户消息对象
 *
 * @author 张成轩
 */
public class UserMessageSchema {

	private Integer id;
	private Integer userId;
	private Integer messageId;
	private String receiveTime;
	private String readTime;
	private MessageSchema message;

	/**
	 * @return id
	 */
	public Integer getId() {

		return id;
	}

	/**
	 * @param id id
	 */
	public void setId(Integer id) {

		this.id = id;
	}

	/**
	 * @return 用户id
	 */
	public Integer getUserId() {

		return userId;
	}

	/**
	 * @param userId 用户id
	 */
	public void setUserId(Integer userId) {

		this.userId = userId;
	}

	/**
	 * @return 消息id
	 */
	public Integer getMessageId() {

		return messageId;
	}

	/**
	 * @param messageId 消息id
	 */
	public void setMessageId(Integer messageId) {

		this.messageId = messageId;
	}

	/**
	 * @return 接收时间
	 */
	public String getReceiveTime() {

		return receiveTime;
	}

	/**
	 * @param receiveTime 接收时间
	 */
	public void setReceiveTime(String receiveTime) {

		this.receiveTime = receiveTime;
	}

	/**
	 * @return 读取时间
	 */
	public String getReadTime() {

		return readTime;
	}

	/**
	 * @param readTime 读取时间
	 */
	public void setReadTime(String readTime) {

		this.readTime = readTime;
	}

	/**
	 * @return 消息对象
	 */
	public MessageSchema getMessage() {

		return message;
	}

	/**
	 * @param message 消息对象
	 */
	public void setMessage(MessageSchema message) {

		this.message = message;
	}
}
